package cn.edu.ctbu.firstdata.service;

import cn.edu.ctbu.firstdata.domain.Student;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface IStudentService {

    public Page<Student> getAll(Pageable pageable);

    public List<Student> getAll(Example<Student> example);

    public Boolean validUserNameAndPassword(String userName, String password) throws Exception;
}
